﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class play : MonoBehaviour
{
    //对于拿到的关卡名字来加载相应的场景
    public void MouseDown() {
        PlayerPrefs.SetString("nowlevel",gameObject.name);
        SceneManager.LoadScene(2);
    }
}
